<template>
  <div class='catchMessage'>
    <div class="notifications">
      <div class="header">Raindrop</div>
      <div class="notificationsList" @click='_handleShowMessage'>
        <div class="leftBox"></div>
        <div class="text">Notifications</div>
      </div>
    </div>
  </div>

</template>

<script>
  import api from '../../plugins/api'
  import { Toast } from 'mint-ui'
  import md5 from 'js-md5'

  const Cookie = process.browser ? require('js-cookie') : undefined
  export default {
    layout: 'raindrop',
    asyncData(process) {
      return {
        name: process.static ? 'static' : process.server ? 'server' : 'client'
      }
    },
    data() {
      return {
        isLayout:'raindrop',
      }
    },
    created() {
      // console.log(this.name)
    },
    head: {
      title: 'message page'
    },
    methods: {
      _handleShowMessage() {
        this.$router.push({path:'/catch/message'})
      }
    }
  }
</script>
<style scoped lang="scss">
  .catchMessage {
    height: 100%;
    width: 100%;

    .notifications {
      width: 100%;

      .header {
        width: 100%;
        height: 88px;
        background: #ffffff;
        color: #1FDED0;
        font-size: 32px;
        font-weight: bold;
        line-height: 88px;
        text-align: center;
      }

      .notificationsList {
        height: 148px;
        width: 100%;
        display: flex;
        align-items: center;

        .leftBox {
          width: 100px;
          height: 100px;
          border-radius: 50%;
          background: url("../../assets/images/20.png") no-repeat center;
          -webkit-background-size: 100%;
          background-size: 100%;
          margin: 0 20px 0 32px;
        }

        .text {
          height: 100%;
          line-height: 148px;
          flex-grow: 1;
          font-size: 32px;
          font-weight: 500;
          color: #333333;
          border-bottom: 1px solid rgba(0, 0, 0, .1);
        }
      }
    }
  }
</style>

